const products: Array<IProduct> = [
  { id: 1, title: "Ipad 4 mini", price: 500, inventory: 2 },
  { id: 2, title: "T-Shirt white", price: 10, inventory: 10 },
  { id: 3, title: "XCX-Suker CD", price: 19, inventory: 5 },
  { id: 4, title: "XCX-Suker CD", price: 19, inventory: 5 },
  { id: 5, title: "XCX-Suker CD", price: 19, inventory: 5 },
  { id: 6, title: "XCX-Suker CD", price: 19, inventory: 5 },
  { id: 7, title: "XCX-Suker CD", price: 19, inventory: 5 },
  { id: 8, title: "XCX-Suker CD", price: 19, inventory: 5 },
];
export default function () {
  return products;
}
export interface IProduct {
  id: number;
  title: string;
  price: number;
  inventory: number; //库存
}
